  

      

        .main-title {
            font-size: 24px;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 16px;
            color: #fff;
            letter-spacing: -0.5px;
        }

        .subtitle {
            font-size: 20px;
           color: rgb(255 255 255);
            max-width: 600px;
            margin: 0 auto;
            font-weight: 400;
            line-height: 1.5;
        }

        .accent {
            color: #0A84FF;
        }

        /* Анимация появления */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .main-title, .subtitle {
            animation: fadeUp 0.8s ease-out forwards;
        }

        .subtitle {
            animation-delay: 0.1s;
            opacity: 0;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .main-title {
                font-size: 24px;
            }
            
            .subtitle {
                font-size: 18px;
            }
        }

        @media (max-width: 480px) {
            .main-title {
                font-size: 20px;
            }
            
            .subtitle {
                font-size: 16px;
            }
            
           
        }
     

        /* Эффект стеклянного морфизма для iOS */
        .glass-effect {
              text-align: center;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(50px);
            -webkit-backdrop-filter: blur(50px);
            border-radius: 16px;
            padding: 15px 15px 15px 15px;
            border: 1px solid rgba(255, 255, 255, 5.1);
            margin :10px auto;
        }
  
  /* iOS System Font Stack */
     
        .hidden {
            display: none !important;
        }
        /* iOS Slider */
        input[type=range] {
            -webkit-appearance: none;
            width: 100%;
            background: transparent;
        }
        input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none;
            height: 28px;
            width: 28px;
            border-radius: 50%;
            background: #ffffff;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
            cursor: pointer;
            margin-top: -12px;
        }
        input[type=range]::-webkit-slider-runnable-track {
            width: 100%;
            height: 4px;
            cursor: pointer;
            background: #E5E5EA;
            border-radius: 999px;
        }

        /* iOS Card & Touch Feedback */
        .ios-card {
            background-color: #FFFFFF;
            border-radius: 16px; 
            transition: transform 0.2s cubic-bezier(0.25, 0.1, 0.25, 1), background-color 0.2s;
        }
        .ios-card:active {
            transform: scale(0.96);
            background-color: #F2F2F7;
        }

        /* Segmented Control */
     .segmented-control {
    
    border-radius: 9px;
    padding: 10px;
    position: relative;
    display: flex;
    width: 100%;
    background-color: #00000080;
}
        .segment-btn {
            flex: 1;
            text-align: center;
            font-size: 13px;
            font-weight: 500;
            padding: 6px 0;
            border-radius: 7px;
            z-index: 2;
            color: #ffffff;
            transition: all 0.2s;
            cursor: pointer;
        }
        .segment-btn.active {
            font-weight: 600;
        }
        .segment-bg {
            position: absolute;
            top: 2px;
            bottom: 2px;
            left: 2px;
            width: calc(50% - 2px);
            background-color: #005be4;;
            border-radius: 7px;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04);
            transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
            z-index: 1;
        }

 
        
    #planModal {
 z-index: 100 !important; /* Гарантируем, что ваше окно будет выше меню */
            transition: opacity 0.3s ease, visibility 0.3s ease;

            opacity: 0;

            visibility: hidden;
 }

          
        #planModal.open {
            opacity: 1;
            visibility: visible;
        }
        #modalContent {
            transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
            transform: translateY(100%);
        }
        #planModal.open #modalContent {
            transform: translateY(0);
        }
        
        .blur-backdrop {
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            background-color: rgba(255, 255, 255, 0.7);
        }

        /* Customizing Intl-Tel-Input */
        .iti { width: 100%; }
        .iti__flag-container { border-radius: 12px 0 0 12px; background: transparent; }
        .iti__selected-flag { background-color: transparent !important; padding-left: 12px; }
        .iti input {
            padding-left: 90px !important;
            background-color: #F2F2F7;
            border-radius: 12px;
            width: 100%;
            height: 56px;
            border: none;
            font-size: 17px;
            color: #000;
        }
        .iti input:focus {
            outline: 2px solid rgba(0, 122, 255, 0.5);
            background-color: #fff;
        }
        .iti__country-list {
            z-index: 100 !important; 
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            border: none;
            margin-top: 8px;
            overflow-x: hidden;
        }
        .iti__dial-code { color: #666; font-weight: 500; }
        
        /* Fade transition */
        .step-transition { transition: opacity 0.3s ease, transform 0.3s ease; }
        .step-hidden { display: none; opacity: 0; transform: translateX(20px); }
        .step-visible { display: block; opacity: 1; transform: translateX(0); }
        
        /* Payment Button */
        .pay-btn { transition: transform 0.1s; }
        .pay-btn:active { transform: scale(0.98); }
        
 
 .loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    color: #555;
    font-family: Arial, sans-serif;
}

.loader {
    border: 6px solid #f3f3f3; /* Светло-серый */
    border-top: 6px solid #3498db; /* Синий */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
 .floats {
    position: fixed;
    right: 1px;
    bottom: 150px;
    transform: translate(-50%, -50%);
    background: #fff0; /*цвет кнопки*/
    border-radius: 50%;
    width: 50px; /*ширина кнопки*/
    height: 50px; /*высота кнопки*/
    
    text-align: center;
    line-height: 53px; /*центровка иконки в кнопке*/
    font-size: 35px; /*размер иконки*/
    z-index: 999;
}


.floats:after{
    animation-delay: .5s;
}
 .floats:before,
.floats:after {
    content: " ";
    display: block;
    position: absolute;
    border: 50%;
    border: 1px solid #25d366; /*цвет анимированных волн от кнопки*/
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: animate 1.5s linear infinite;
    opacity: 0;
    backface-visibility: hidden; 
}
 
@keyframes animate
{
    0%
    {
        transform: scale(0.5);
        opacity: 0;
    }
    50%
    {
        opacity: 1;
    }
    100%
    {
        transform: scale(1.2);
        opacity: 0;
    }
}

  

    .lang-select {
      margin-bottom: 20px;
      text-align: right;
    }

    select {
      padding: 6px 12px;
      font-size: 16px;
    }

    .faq-container {
      max-width: 800px;
      margin: auto;
      background: #fff;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .faq-item {
      border-bottom: 1px solid #e0e0e0;
    }

    .faq-question {
      cursor: pointer;
      padding: 16px;
      font-weight: 600;
      background: #f8f8f8;
      position: relative;
          color: #555;
    }

    .faq-question::after {
      content: '+';
      position: absolute;
      right: 20px;
      font-size: 20px;
      transition: transform 0.3s;
    }

    .faq-question.active::after {
      content: '−';
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 16px;
         background: #001965;
      transition: all 0.3s ease;
    }

    .faq-answer.open {
      max-height: 500px;
      padding-bottom: 16px;
    }
    .esim-info-container {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  max-width: 820px;
  margin: 20px auto;
  padding: 32px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  color: #1c1c1e;
  line-height: 1.6;
  transition: all 0.3s ease-in-out;
}

.esim-info-container h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 24px;
  color: #000;
}

.esim-info-container p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #444;
}

.esim-info-container ul,
.esim-info-container ol {
  margin-left: 20px;
  padding-left: 0;
}

.esim-info-container ul li,
.esim-info-container ol li {
  margin-bottom: 12px;
  font-size: 1rem;
}

.esim-info-container ul li::marker,
.esim-info-container ol li::marker {
  color: #007aff; /* Apple blue */
}

@media (max-width: 768px) {
  .esim-info-container {
    padding: 20px;
    margin: 2px;
  }

  .esim-info-container h3 {
    font-size: 1.2rem;
  }

  .esim-info-container p,
  .esim-info-container ul li,
  .esim-info-container ol li {
    font-size: 0.95rem;
  }
}
